import openpyxl

# 创建工作簿
workbook = openpyxl.Workbook()

# 获取工作表
worksheet = workbook.active

# 向工作表中插入数据
worksheet['A1'] = 'aaa'
worksheet['A2'] = 'bbb'
worksheet['A3'] = 'ccc'

# 保存工作簿
workbook.save("01.xlsx")
